package com.iran.order;

import com.iran.order.example.Command;

public class Main {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();

        AbstractCommand command = new ConcreteCommand(receiver);

        Invoke invoke = new Invoke();

        invoke.setAbstractCommand(command);

        invoke.executeCommand();
    }
}
